package com.center.biz.impl;

import com.center.api.model.EduArticleContent;
import com.center.api.remote.RemoteEduArticleContentService;
import com.center.biz.dao.EduArticleContentMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(version = "1.0",interfaceClass = RemoteEduArticleContentService.class)
public class RemoteEduArticleContentServiceImpl implements RemoteEduArticleContentService {

    @Autowired
    private EduArticleContentMapper eduArticleContentMapper;

    @Override
    public int save(EduArticleContent eduArticleContent) {
        return eduArticleContentMapper.insertSelective(eduArticleContent);
    }

    @Override
    public int update(EduArticleContent eduArticleContent) {
        return 0;
    }

    @Override
    public int delete(int id) {
        return 0;
    }

    @Override
    public EduArticleContent getById(int id) {
        return null;
    }

    @Override
    public List<EduArticleContent> select(EduArticleContent eduArticleContent) {
        return null;
    }
}
